package org.jeecg.modules.online.config.p022d;

import java.util.HashMap;
import java.util.Map;

/* renamed from: org.jeecg.modules.online.config.d.e */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/modules/online/config/d/e.class */
public class ExtendJsonConvert {

    /* renamed from: a */
    protected static Map<String, String> f589a = new HashMap(5);

    static {
        f589a.put("class", "clazz");
    }

    /* renamed from: a */
    private static String m25a(String str, int i) {
        String str2 = str;
        for (String str3 : f589a.keySet()) {
            String valueOf = String.valueOf(str3);
            String valueOf2 = String.valueOf(f589a.get(valueOf));
            if (i == 1) {
                str2 = str.replaceAll(valueOf, valueOf2);
            } else if (i == 2) {
                str2 = str.replaceAll(valueOf2, valueOf);
            }
        }
        return str2;
    }
}
